
#pragma once
#include<Windows.h>
 
  class Service 
  {
   public:
      BOOL Continue();
      BOOL Pause();
       BOOL Stop();
       BOOL Start();
       BOOL Delete();
       BOOL Create();
    
       Service();
       virtual ~Service();
   
   private:
	   LPCTSTR ServiceName;
       LPCTSTR DisplayName;
       LPCTSTR BinaryPathName;
       BOOL AutoStart;
       SC_HANDLE scm;
   
   public:
       void SetServiceName(LPCTSTR str);
       void SetServiceDisplayName(LPCTSTR str);
       void SetServicePath(LPCTSTR str);
       void SetAutoStart(BOOL b);
   };
   
  